﻿<TreeView  x:Class="Daytimer.Controls.Tasks.DraggableTreeView"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
		xmlns:Friction="clr-namespace:Daytimer.Controls.Friction" mc:Ignorable="d" d:DesignHeight="300"
		d:DesignWidth="300">
	<TreeView.Template>
		<ControlTemplate  TargetType="TreeView">
			<Friction:FrictionScrollViewerControl  x:Name="_tv_scrollviewer_" Background="{TemplateBinding Background}"
					CanContentScroll="False" Focusable="False"
					HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
					Padding="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
					VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
					ScrollChanged="_tv_scrollviewer__ScrollChanged">
				<ItemsPresenter  />
			</Friction:FrictionScrollViewerControl>
		</ControlTemplate>
	</TreeView.Template>
</TreeView>
